<?
define("ROOT", dirname(__FILE__));
define("THEME_DIR", "magi");
define("TPL_DIR", ROOT."/tpl/".THEME_DIR);
//define("LANG", "ru");


mysql_connect("localhost", "user", "password") or die (mysql_error());
mysql_select_db("database") or die (mysql_error());
mysql_query('SET NAMES "utf8"');
?>